package org.jeecg.modules.demo.shop.vo;

import java.util.List;
import org.jeecg.modules.demo.shop.entity.RsOrder;
import org.jeecg.modules.demo.shop.entity.RsOrderDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 订单表
 * @Author: jeecg-boot
 * @Date:   2020-08-07
 * @Version: V1.0
 */
@Data
@ApiModel(value="rs_orderPage对象", description="订单表")
public class RsOrderPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private java.lang.String sysOrgCode;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
	@ApiModelProperty(value = "订单号")
	private java.lang.String orderNo;
	/**订单数量*/
	@Excel(name = "订单数量", width = 15)
	@ApiModelProperty(value = "订单数量")
	private java.lang.Integer orderNum;
	/**订单金额*/
	@Excel(name = "订单金额", width = 15)
	@ApiModelProperty(value = "订单金额")
	private java.math.BigDecimal totalMoney;
	/**下单人*/
	@Excel(name = "下单人", width = 15)
	@ApiModelProperty(value = "下单人")
	private java.lang.String customerName;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
	@ApiModelProperty(value = "联系电话")
	private java.lang.String customerPhone;
	/**下单时间*/
	@Excel(name = "下单时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "下单时间")
	private java.util.Date orderTime;
	/**省*/
	@Excel(name = "省", width = 15)
	@ApiModelProperty(value = "省")
	private java.lang.String province;
	/**城市*/
	@Excel(name = "城市", width = 15)
	@ApiModelProperty(value = "城市")
	private java.lang.String city;
	/**区域*/
	@Excel(name = "区域", width = 15)
	@ApiModelProperty(value = "区域")
	private java.lang.String area;
	/**地址*/
	@Excel(name = "地址", width = 15)
	@ApiModelProperty(value = "地址")
	private java.lang.String address;
	/**建筑名称*/
	@Excel(name = "建筑名称", width = 15)
	@ApiModelProperty(value = "建筑名称")
	private java.lang.String buildingName;
	/**邮政编码*/
	@Excel(name = "邮政编码", width = 15)
	@ApiModelProperty(value = "邮政编码")
	private java.lang.String postalCode;
	/**电子邮箱*/
	@Excel(name = "电子邮箱", width = 15)
	@ApiModelProperty(value = "电子邮箱")
	private java.lang.String email;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private java.lang.String remark;
	/**订单状态*/
	@Excel(name = "订单状态", width = 15)
	@ApiModelProperty(value = "订单状态")
	private java.lang.String status;
	/**物流单号*/
	@Excel(name = "物流单号", width = 15)
	@ApiModelProperty(value = "物流单号")
	private java.lang.String oddNumber;
	/**审核状态*/
	@Excel(name = "审核状态", width = 15)
	@ApiModelProperty(value = "审核状态")
	private java.lang.String shenhe;
	/**采购状态*/
	@Excel(name = "采购状态", width = 15)
	@ApiModelProperty(value = "采购状态")
	private java.lang.String purchaseStatus;
	/**投放id*/
	@Excel(name = "投放id", width = 15)
	@ApiModelProperty(value = "投放id")
	private java.lang.String launchUser;

	@ExcelCollection(name="订单明细表")
	@ApiModelProperty(value = "订单明细表")
	private List<RsOrderDetail> rsOrderDetailList;

}
